
public class Order {
	
	private int orderID;
	private double difficultyRating;
	private static int orderStatus;
	Address deliveryAddress;
	
	ArrayList <OrderOfDish> dishes;
	
	//magic numbers
	private static final int Incomplete = 1;
	private static final int InProgress = 2;
	private static final int Complete = 3;
	private static final int Delivered = 4;
	
	public Order(int id, int x, int y) {
		orderID = id;
		deliveryAddress = new Address (x,y);
		orderStatus = Incomplete;
	}
	
	public void addOrderOfDish (OrderOfDish d) {
		difficultyRating += d.getOrderDifficulty();
	}
	
	public double getDifficulty() {
		return difficultyRating;
	}
	
}
